package cn.tcmp.kmall.user.servcie.Impl;

import cn.tcmp.kmall.bean.Member;
import cn.tcmp.kmall.service.MemberService;
import cn.tcmp.kmall.user.mapper.MemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MemberServiceImpl implements MemberService {

    @Resource
    MemberMapper memberMapper;

    @Override
    public List<Member> selectAllMember() {
        List<Member>services=memberMapper.selectByExample(null);
        return services;
    }
}
